<?php
	include ROOTPATH .'include'. DS .'protect.php'; 
	include "header.php"; 
?>
<script type="text/javascript">
var regType = 'full';
var lang_email_error = '<?php echo lang_email_error;?>';
var lang_fill_all = '<?php echo lang_fill_all;?>';
var lang_password_too_short = '<?php echo lang_password_too_short;?>';
var lang_password_must_same = '<?php echo lang_password_must_same;?>';
</script>
<script type="text/javascript" src="<?php echo JS_PATH;?>reg.js"></script>
</head>

<body id="login">
	<?php require('top.php'); ?>
    
<div class="pos">	
    <div class="contents">
		<?php require('nav.php'); ?>
        <form name="login" method="post" action="<?php echo WEB_ROOT_PATH;?>?option=regAction&type=action&do=reg" okaction="<?php echo urlRewrite('option=home')?>" id="loginForm" class="form">
        <h2 class="title"><?php echo lang_reg;?></h2>
        <ul class="box">
        <?php /*?><li class="check"><font style=" color:#F00"><?php echo lang_invite_code;?>:</font><input name="inviteCode" type="text" id="inviteCode" maxlength="20" class="gray text shiningTFD" /><h4>测试期间仅限受邀用户注册，获取邀请码请发送邮件到 <b id="inviteEmail">design[at]hnu.cn</b></h4></li>
        <script type="text/javascript">$('#inviteEmail').html('design@hnu.cn');</script><?php */?>

        
        <hr />
        <li class="check"><font><?php echo lang_email;?>:</font><input name="userName" type="text" id="userName" maxlength="100" defaultvalue="ex:mail@gmail.com" class="gray text shiningTFD" /><h4><?php echo lang_reg_tip;?></h4></li>
        <hr />
        <li class="check"><font><?php echo lang_username;?>:</font><input name="nickName" type="text" id="nickName" maxlength="40" class="gray text shiningTFD" defaultvalue="<?php echo lang_length;?>: 3-40" /><h4><?php echo lang_reg_tip;?></h4></li>
        <hr />
        <li class="check"><font><?php echo lang_password;?>:</font><input name="password" type="password" id="password" maxlength="30" class="text shiningTFD" /><h4><?php echo lang_password_tip;?></h4></li>
        <hr />
        <li class="check"><font><?php echo lang_affirm_password;?>:</font><input name="password1" type="password" id="password1" maxlength="30" class="text shiningTFD" /><h4><?php echo lang_affirm_password_tip;?></h4></li>
        
        </ul>
        <div class="highOther">
        <li><input name="agreeReg" id="agreeReg" type="checkbox" value="1" checked="checked" /><a id="serviceClause" href="<?php echo urlRewrite('option=serviceClause')?>" target="_blank"><?php echo lang_read_accept_service_clause ;?></a></li>
        <li><input type="submit" value="<?php echo lang_submit;?>" class="submit" /></li>    
        </div>     
        </form>
    </div><!-- .contents-->
</div>


</body>
</html>